-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: introduce SharedLockbox #141
base: develop
Are you sure you want to change the base?
Conversation
* feat: create shared lockbox contract with its interface and unit tests * chore: polish tests and interfaces * chore: run pre-pr * chore: improve natspec * chore: run pre-pr * chore: update compiler version
chore: sync develop
* feat: integrate portal to lockbox * fix: pr fixes * test: refactor assert
#128) * feat: create shared lockbox contract with its interface and unit tests * chore: polish tests and interfaces * chore: run pre-pr * chore: improve natspec * chore: run pre-pr * feat: add liqudity migrator contract with its unit test and interface * chore: remove underscore on stack var * chore: add todo * chore: run pre-pr * chore: add contract title natspec and proxied * refactor: integrate testing suite with common test * chore: pre-pr * chore: add spec test
* feat: integrate portal to lockbox * fix: pr fixes * test: refactor assert * feat: integrate system config with superchain config * fix: remove OPCM interop * test: add dependency counter test
if (!authorizedPortals[msg.sender]) revert Unauthorized(); | ||
|
||
// Using `donateETH` to avoid triggering a deposit | ||
IOptimismPortal(payable(msg.sender)).donateETH{ value: _value }(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it necessary to cast the msg.sender as payable here?
IOptimismPortal(payable(msg.sender)).donateETH{ value: _value }(); | |
IOptimismPortal(msg.sender).donateETH{ value: _value }(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, because it implements payable
functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// @custom:semver 1.1.1-beta.2 | ||
string public constant version = "1.1.1-beta.2"; | ||
|
||
// Mapping from chainId to SystemConfig address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Mapping from chainId to SystemConfig address | |
// Dependency set of chain ids that are part of the same cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is bugged, not sure why is this showing up here. Pls ignore
fix: merge conflict lockbox
* feat: Add pause check Co-authored-by: 0xParticle <[email protected]> Co-authored-by: gotzenx <[email protected]> Co-authored-by: Joxess <[email protected]> * test: add tests natspecs --------- Co-authored-by: 0xParticle <[email protected]> Co-authored-by: gotzenx <[email protected]> Co-authored-by: Joxess <[email protected]>
…ox-2 fix: merge conflicts in lockbox
* feat: use superchain config lockbox in portal * test: add new sharedlockbox test
…ox-3 fix: merge conflict in develop sync
* feat: liquidity migrator deployment * test: fix comment * test: fix internal variables names
No description provided.